﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace OrderingPlatform.Model.UserManage
{
    public class MobifyPasswordModel
    {
        [Required(ErrorMessage = "原始密码不能为空")]
        [DataType(DataType.Password)]
        [DisplayName("原始密码：")]
        public string OrigonPassword { get; set; }
        [Required(ErrorMessage = "新密码不能为空")]
        [DataType(DataType.Password)]
        [DisplayName("新 密 码：")]
        public string Password { get; set; }

        [Required(ErrorMessage = "确认密码不能为空")]
        [DataType(DataType.Password)]
        [DisplayName("确认密码：")]
        public string ConfirmPassword { get; set; }
    }
}
